﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Infrastructure.Log
{
    /// <summary>
    /// 后端日志
    /// </summary>
    public class BackendLog
    {
        /// <summary>
        /// 日志Id
        /// </summary>
        public int LogId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateByDate { get; set; }

        /// <summary>
        /// 所属项目
        /// </summary>
        public string Project { get; set; }

        /// <summary>
        /// 消息编号
        /// </summary>
        public string LogNO { get; set; }

        /// <summary>
        /// 日志级别
        /// </summary>
        public string Level { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public string User { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 堆栈信息
        /// </summary>
        public string Stack { get; set; }

        /// <summary>
        /// 提交数据
        /// </summary>
        public string SubmitData { get; set; }

        /// <summary>
        /// 程序集
        /// </summary>
        public string Assembly { get; set; }
    }
}
